package com.zhanghe.study;

import com.zhanghe.study.dao.UserDao;
import com.zhanghe.study.sqlsession.MySqlSession;
import com.zhanghe.study.table.User;

public class Application {
    public static void main(String[] args) {
        MySqlSession sqlSession = new MySqlSession();
        UserDao userDao = sqlSession.getMapper(UserDao.class);
        User user = userDao.getUserById("1");
        System.out.println(user);
    }
}
